﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Web;
using RESTProcesosMCService.Dominio;

namespace RESTProcesosMCService
{
    [ServiceContract]
    public interface IClientesMCService
    {
        [OperationContract]
        [WebInvoke(Method = "POST", UriTemplate = "ClientesMC", ResponseFormat = WebMessageFormat.Json)]
        ClienteMC ValidarClienteMC(ClienteMC ClienteMCACrear);

        [OperationContract]
        [WebInvoke(Method = "GET", UriTemplate = "ClientesMC/{idClienteMC}", ResponseFormat = WebMessageFormat.Json)]
        ClienteMC ObtenerClienteMC(string idClienteMC);

        [OperationContract]
        [WebInvoke(Method = "GET", UriTemplate = "ClientesMC", ResponseFormat = WebMessageFormat.Json)]
        List<ClienteMC> ListarClientesMC();
    }
}
